<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #id1{
            border: 1px black solid;
            width: 602px;
            height: 292px;
        }
        .class1{
            width: 560px;
            height: 49px;
            border-bottom: 1px black solid;
            margin-left: 20px;
            overflow: hidden;
            }
            .class1>h1{
            border-bottom:4px red solid;
            width: 80px;
            text-align: center;
            font-size: 18px;
            font-family: "雅黑";
            color: #000;
            padding-bottom: 12px;
        }
        .class2{
            position: relative;
        }
        span{
            position:absolute;;
            right: 20px;
        }
        li{
            padding-top: 7px;
            padding-bottom: 8px;
        }
    </style>
</head>
<body>
    <div id="id1">
        <div class="class1"><h1>新闻列表</h1> </div>
        <div class="class2">
            <ul>
                <li><img src="./icon.jpg">ad<span>日期</span></li>
                <li><img src="./icon.jpg">ad<span>日期</span></li>
                <li><img src="./icon.jpg">ad<span>日期</span></li>
                <li><img src="./icon.jpg">ad<span>日期</span></li>
                <li><img src="./icon.jpg">ad<span>日期</span></li>
                <li><img src="./icon.jpg">ad<span>日期</span></li>
            </ul> 
        </div>

    </div>
</body>
</html>